package com.example.logistics_manage.service;

import com.example.logistics_manage.pojo.News;

import java.util.List;

public interface INewsService {
    List<News> selectAllNews();

    void updateNews(News news);

    void deleteNews(Integer newsId);

    List<News> selectByTitle(String title);

    void insertNews(News news);
}
